package com.tjs.lucky.domain.rule.mdel.aggregates;

import com.tjs.lucky.domain.rule.mdel.vo.TreeNodeVO;
import com.tjs.lucky.domain.rule.mdel.vo.TreeRootVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @Author: 田佳澍
 * @Description: 规则树聚合
 * @DateTime: 2023/5/29 15:41
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TreeRuleRich {

    /**
     * 树根信息
     */
    private TreeRootVO treeRoot;
    /**
     * 树节点ID -> 子节点
     */
    private Map<Long, TreeNodeVO> treeNodeMap;
}
